package tech.hypersense.system.converter;

import org.mapstruct.Mapper;
import tech.hypersense.system.model.entity.Dept;
import tech.hypersense.system.model.form.DeptForm;
import tech.hypersense.system.model.vo.DeptVO;

/**
 * @Author: HyperSense
 * @CreateTime: 2025-03-27
 * @Description: 部门对象转换器
 * @Version: 1.0
 */
@Mapper(componentModel = "spring")
public interface DeptConverter {

    DeptForm toForm(Dept entity);

    DeptVO toVo(Dept entity);

    Dept toEntity(DeptForm deptForm);

}
